<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/res/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${site}用户列表页</title>
<%@ include file="/res/common/meta.jsp" %>
<!-- link href="${ctx}/res/css/" type="text/css" rel="stylesheet"  -->
<script src="${ctx}/res/js/jquery-1.2.6.js" type="text/javascript"></script>
<script src="${ctx}/res/js/main-frame-style.js" type="text/javascript"></script>
<%@ include file="/res/common/js-css.jsp" %>
<style type="text/css">
<!--


-->
</style>
<link href="${ctx}/res/css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-left-color: #000000; font-weight: bold; }
-->
</style>
</head>

<body>
<div class="content">
  <div class="title"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="63%"><strong>栏目列表</strong></td>
    <td width="30%" align="right"><a href="category!input">添加栏目</a></td>
    <td width="2%"></td><td width="5%"><img src="${ctx}/res/images/up1.gif" border="0" class="close" /></td>
  </tr></table></div>
  <span class="list">


<table border="0" cellpadding="0" cellspacing="0" class="contable">
  <tr>
    <td height="26" align="center" class="STYLE1">栏目名称</td>
    <td align="center" class="mytd"><strong>父栏目</strong></td>
    <td align="center" class="mytd"><strong>栏目管理</strong></td>
  </tr>
  <s:iterator value="model">
  <tr>
    <td height="26" align="center" class="mytd">${name}</td>
    <td align="center" class="mytd">${parent.name}</td>
    <td align="center" class="mytd"><a href="category!input?id=${id}">修改</a> | <a href="category!input?parent.id=${id}">添加子栏目</a> | <a href="category!delete?id=${id}">删除</a></td>
  </tr>
  </s:iterator>
</table>

	
	<sec:authorize ifAnyGranted="A_MODIFY_CATEGORY">
	
	</sec:authorize>

	
	<s:property value="exception.message"/>
	<s:property value="message"/>

  </span>
</div>


</body>

</html>
